'use strict';
var rank_desc = function(collection){
let result =collection.sort((a,b)=>b-a);
console.log(result);
return result;
};
rank_desc( [3, 2, 4, 5, 6]);
module.exports = rank_desc;
